<template>
    <div class="container-son">
       {{ msg }}
    </div>
</template>

<script lang='ts' setup>
import {ref} from 'vue'
import bus from '@/utils/bus'
let msg=ref<any>('')
bus.on('make',(arg)=>{
    msg.value=arg
    
})
</script>
<style lang='scss' scoped>
.container-son{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 100px;
    border: 2px dashed sienna;
    background-color: sienna;
}
</style>